FROM python:3.6  
WORKDIR /Project/myflask  
  
COPY requirements.txt ./  
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple  
  
COPY . .

ENV LANG C.UTF-8
EXPOSE 5000
# CMD ["gunicorn", "manage:app", "-c", "./gunicorn.conf.py"]
CMD ["python", "manage.py","runserver","-h", "0.0.0.0", "-p" ,"5000"]
